Api.EnableAutoConfig 方法
允許啟用自動配置,自動為伺服驅動器配置 EtherCAT 設定。
命名空間:IntervalZero.KINGSTAR.Local.Api
組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0
語法
public KsError EnableAutoConfig(
bool Active
)
Public Function EnableAutoConfig(
Active As Boolean
) As KsError
參數
Active
型別:bool
true:啟用自動配置;false:停用自動配置。預設為 true。
回傳值
方法的回傳代碼。
備註
此方法須在 Create 或 CreateAsync 後及 Start 前呼叫。
可用的 EtherCAT 狀態
ecatOffline
範例
N/A
參見